import { Component } from '@angular/core';
import { SizerComponent } from "./sizer/sizer.component";
import { SunshineNgZorroAntdModule } from '../../../ng-zorro-module';

@Component({
  selector: 'app-double-data-binding',
  standalone: true,
  imports: [SizerComponent, SunshineNgZorroAntdModule],
  templateUrl: './double-data-binding.component.html',
  styleUrl: './double-data-binding.component.css'
})
export class DoubleDataBindingComponent {
  appFontSize = 14;
  iptVal: number = 0;
  iptVal2: number = 1;
  user: any = { 'name': 'John', 'address': '北京' };

  doSubmit($event: any) {
    console.log(JSON.stringify(this.user))
    console.log(JSON.stringify($event))
    console.log($event)
  }
}
